package com.hc.sys;

import org.springframework.util.Assert;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ExceptionTest {
	
	@RequestMapping("/")
	public String test(String a) {
		Assert.notNull(a, "a 不允许为null");
		return "成功";
	}
}
